package ru.nsu.fit.iconveyor.conveyor.storage.importer.graphml.elements;

/**
 * @author Timur Zolotuhin (tzolotuhin@gmail.com)
 */
public class GraphMLAttribute {
    private final String name;
    private Object value;
    private final Class<?> type;
    
    public GraphMLAttribute (String aName, Class<?> aType, Object aValue) {
        name = aName;
        type = aType;
        value = aValue;
    }

    public Class<?> getType() {
        return type;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }
}
